home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / games / egavga / hack311.arj / READ.ME < prev    next >
Text File  |  1993-03-11  |  24KB  |  483 lines

  1. NetHack is Copyright (C) Stichting Mathematisch Centrum, Amsterdam
  2.     NetHack may be freely redistributed.  See license for details.
  3.  
  4.                   Installing NetHack 3.1 for the PC
  5.                   =================================
  6.                    (last revision: 1993 March 10)
  7.  
  8. ------------------------------------------------------------------------
  9. Hello ..., welcome to NetHack!
  10. ------------------------------------------------------------------------
  11.  
  12. The current (Version 3.1, patchlevel 1) official binary distribution of
  13. NetHack 3.1 runs on 286 or greater PC compatibles running MS-DOS or
  14. PC-DOS version 3.0 later.
  15.  
  16. ------------------------------------------------------------------------
  17. How to set up the game:
  18. ------------------------------------------------------------------------
  19.  
  20. In order to install this version of NetHack, you will need a PC
  21. compatible with a 286 or faster processor running MS-DOS or PC-DOS
  22. 3.0 or later with 640k or more of RAM and perhaps 1.5M of free disk
  23. space.  NetHack consumes a lot of RAM and the more it has available
  24. the faster it runs; it is therefore recommended that you do NOT use
  25. it in conjunction with large memory-resident programmes, or RAM
  26. disks that consume significant amounts of base memory.
  27.  
  28. The most straightforward method of setting up the game is to put all of
  29. the NetHack files into a single directory - C:\GAMES\NETHACK would be
  30. a typical choice.  Whenever you are in this directory you can then run
  31. NETHACK.  If you add this directory to your PATH, you will not even
  32. have to CD first.
  33.  
  34. At this point, on a thoroughly clonal machine, you should have a
  35. playable game, but you quite likely want to poke around in NETHACK.CNF
  36. with a text editor to set up both pragmatic things (like where to
  37. store saved games) and Fun Stuff like the name of your character and
  38. your cat.  If your machine is not a solid clone, this step can save
  39. your metaphorical bacon by eliminating some otherwise reasonable
  40. assumptions about how things work inside....
  41.     With luck the comments in NETHACK.CNF should be adequate to
  42. figuring out how things work.
  43.  
  44.  
  45. ------------------------------------------------------------------------
  46. Contacts:
  47. ------------------------------------------------------------------------
  48.  
  49. If you have problems with this package, or in general with NetHack on
  50. the PC, you can try contacting one of the following people:
  51.  
  52. Kevin Smolkowski               Internet:                  kevins@ori.org
  53. 207 E 5th
  54. Eugene, OR  97401
  55.  
  56. Norm Meluch                                         norm@cfctech.cfc.com
  57.  
  58. Paul T Winner                                         p00088@psilink.com
  59.                                                             and 
  60.                                                     Compuserve 73207,226
  61. ------------------------------------------------------------------------
  62. Bug reports                              nethack-bugs@linc.cis.upenn.edu
  63.  
  64. Please mention that you are using the 'official' nh31 binary, and
  65. whether you use a disk cache, ramdisk, EMS or other such
  66. dis-enhancement as well as the EXACT error message and diagnostic code.
  67.  
  68.  
  69. ------------------------------------------------------------------------
  70. Frequently asked questions:
  71. ------------------------------------------------------------------------
  72.  
  73. You asked:
  74.  
  75.     I try to start up NetHack on my 8088 machine, but all I
  76.         get back is the dos prompt.
  77.  
  78. Our installation expert replies:
  79.  
  80. It's like this, NetHack has become so large, and contains so
  81. many feature laden adventures that it requires more processor
  82. power than your machine can muster.  Rather than cripple the
  83. game for the rest of us, we chose to support only those machines
  84. upon which the game was playable.  Sure we could make it so it
  85. would run on your laptop, but it would take 3 minutes a move and
  86. you would just gripe more.
  87.  
  88.  
  89. You asked:
  90.  
  91.     Help!  I start NetHack, but all I get on my screen is a bunch of
  92.     garbage.  It looks like the game is running, but it's all just a
  93.     jumble at the bottom of the screen.  What's wrong?
  94.  
  95. Our staff mechanic replies:
  96.  
  97. Amateurs, amateurs, amateurs.  I don't know.  Look, you've frimbulated
  98. the framslambaster, the claviprondrophone's clogged, and you've
  99. probably got your command interpreter in backwards, to judge from the
  100. way the text scrolls down the screen....  I hate to be the bearer of
  101. bad news, but this one's gonna cost you.  Maybe a minute, maybe two
  102. minutes of your time.  What's happening, do you see? is that the
  103. characters are getting out onto the screen, there, but nothing's
  104. telling the little beggars where to go.  There ain't no terminal
  105. emulator running there, no terminal emulator at all.  Awright, you
  106. seem like a bright one, I'll walk you through the fix.
  107.     First off, we're gonna have to figure out what kind of
  108. terminal driver you want to use.  The simple approach is, we'll use
  109. ANSI.SYS, 'cause that comes with DOS; at least on the true clones you
  110. pretty much have to have that.  Now, if you had a nice custom job, or
  111. one of them souped-up PD things like NANSI.SYS or PMANSI.SYS or one of
  112. them, we could use that: it'd be faster, surely, and maybe other
  113. software could use it too.  But whichever one you use, you should make
  114. a note of its full path name, where it is.
  115.     What kind of set-up do you have?  A plain-vanilla
  116. installation, you know, and you'd have the operating system all in the
  117. root of C: - in C:\, as we say.  Most are a bit fancier nowadays and
  118. keep it in C:\DOS or somewhere like that, so the full name could work
  119. out to be C:\ANSI.SYS or C:\DOS\NANSI.SYS, or some such.  That's the
  120. thing we need.  Humph.  Yeah, almost forgot.  If you boot off a floppy
  121. -- sometimes you wanna do that, have a smaller config for the game
  122. than you generally use, whatever, it could even be in A:, I suppose.
  123. A:\ANSI.SYS, whatever.
  124.     Ok, so we know what we want to install.  Now we've got to
  125. install it.  So we're gonna have to open up your CONFIG.SYS with an
  126. editor or something, some kind of text editor.  CONFIG.SYS?  That's
  127. the system configuration file, no big surprise.  That's gonna be in
  128. the root of your boot drive, surely (well, once I knew a chap who kept
  129. it someplace else but he'd used a sector editor on his boot record, to
  130. prove he could do it or something.  Pride knows no wossname it seems).
  131. So anyways, here we are, it's C:\CONFIG.SYS on a hard disk,
  132. A:\CONFIG.SYS on a floppy, and if you don't have one, just make one,
  133. it's an ordinary DOS text file.
  134.     So what we have to do to it is add a single new line,
  135. saying, eesh, something like
  136.         DEVICE=C:\ANSI.SYS
  137. Or whatever.  On the right, after the equals sign, you just put
  138. whatever driver you actually have, right?
  139.     Well, for a stock machine, a good solid clone, that should
  140. about be it.  The display should be fine now.  If you're running DOS
  141. on a non-compatible machine, though, perhaps you have a terminal
  142. emulator, even a terminal, that isn't ANSI compatible.  Well.  Then
  143. you'd have have to set up an environment variable, TERM=..., well,
  144. TERM= whatever your terminal type is named.  Then you'd have to make
  145. sure there's a TERMCAP file on your path, and see that there's an
  146. entry in it describing your terminal.  Touchy that.  And pretty
  147. technical.  Perhaps you'd want to get a Unix wizard to walk you
  148. through it, them termcap entries read like alphabet soup to many,
  149. though all they do is explain the escape sequences the terminal uses
  150. for its different functions.
  151.     But if you're using an ANSI terminal, or an ANSI terminal
  152. emulator, that TERM stuff is taken care of automatic.
  153.     Hope that helps.
  154.  
  155.  
  156. You asked:
  157.  
  158.     Wow this is a really neat game.  Is there any way to explore it
  159.     without dying so much?
  160.  
  161. Our staff schizophrenic replies:
  162.  
  163. Gentle Reader, I fear this is a most delicate question.  It is a
  164. frequent theme in fantasy literature that it is far easier to be
  165. granted a wish than it is to decide upon a good wish to make.  But I
  166. am no djinn, and I am willing to advise you on this point as well.
  167. And so I shall make the observation that, no matter what transpires,
  168. you will always die the same amount, viz: once.  Perhaps what you want
  169. is a way to avoid dying so soon?
  170.     As it happens, this latter can be accomplished.  Death, as it
  171. transpires, is characterisable as _finitely avoidable_ in NetHack, for
  172. there is a Mystic Prompt known to those who have read the Man Page of
  173. Doom, the words of which, it is sometimes whispered, are as follows:
  174.         Die? [yn]
  175. The benefit of being asked this question at the, shall we say,
  176. appropriate, crucial moments is available -- for a price.
  177. Classically, an acceptable consideration would be the player's soul;
  178. but since according to the hallowed doctrines of most major religions,
  179. @-signs don't have souls to sell, we will be contented with your
  180. score....  For lo!  The game contains an X command, and by the
  181. strangely inexplicable power of the elder gods this X standeth for the
  182. word Discover (or EXplore, in the ancient tongue), and the typing of
  183. this Mystic Device shall effect the deal as described above,
  184. paragraphs 2 and 3.
  185.  
  186.     Furthermore, and alternately, IF YOU ORDER IMMEDIATELY at the
  187. outset of a game, AS AN ADDED FREE BONUS YOU WILL RECEIVE A GENUINE
  188. HAND-CRAFTED WAND OF THREE WISHES!  Just type NETHACK -X on the
  189. command line and, since NetHack is freely distributable, SEND NO MONEY
  190. NOW.  As a variation on this theme, the -D flag will put the game into
  191. its debugging mode, IF you are a wizard... "Speak, wizard, and enter",
  192. to paraphrase the Old Master.
  193.  
  194.  
  195. You asked:
  196.  
  197.     Ok the game works.  Where do I begin to learn how to play?
  198.  
  199. A passing strange person replies:
  200.  
  201. Of course it works.  What do you think I am, a radio?
  202.     Once you've got into the game, some good commands to try (and
  203. they don't even count as moves!) are ? and /.  At risk of sounding
  204. like marketing blurb, the HELP key (which on your terminal will be
  205. marked with a question mark - and be warned that you may have to
  206. depress the shift key to activate this function!) gives you instant
  207. access to our online help facility.  It's kind of a menu with lovely
  208. options like "c" (where you get to see MY NAME in the history of
  209. NetHack!), "i" (which gives you all the important legal blurb which
  210. tells you about your rights and responsibilities as a NetHack
  211. licensee), and the more boring items "a" and "b" which merely explain
  212. all the commands and the display symbols and uninteresting stuff like
  213. that.  What the hell.  It's there, you can use it.
  214.     The / key is pretty good, too.  If there's something on the
  215. screen that you don't know what it is, well, it's probably a letter or
  216. a symbol or something.  That's wisdom, see?  But to get onto the
  217. Eternal Verities, suppose you want to know what it MEANS?  Aha!  Hit
  218. /, say "y", I want to specify it by cursor (cursors are blinking
  219. underscores, and if you're British like me you can curse them with
  220. your numeric bloody keypad, too -- Americans needn't understand this
  221. joke), whatever it is, and then you can point out the object of your
  222. confusion and have it explicated in frabjous detail.  Helps you avoid
  223. getting your face et, sometimes, that.  Always nice, not having your
  224. face et.
  225.     Oh, right, I almost forgot.  There's the Guidebook, too, for
  226. the quiche-eaters in our midst....  You may have got one with your
  227. game.
  228.  
  229.  
  230. You asked:
  231.  
  232.     Can I run this game on a two floppy PC?
  233.  
  234. Our entire staff choruses:
  235.  
  236. NO!
  237.     Basically the game has gotten too huge.  Well, if you had
  238. really LARGE floppies, and a lot of EMS so that it doesn't have to
  239. swap code in from disk all the time (which would be REALLY slow), I
  240. suppose you could, a bit, maybe.  There's some support for it, since
  241. it used to be feasible, but really, today, I wouldn't want to try.
  242. And the problem is exacerbated by the fact that because of the
  243. overlays the game file is kept open all the time, so you aren't free
  244. to swap disks once the game is loaded.
  245.     Sorry 'bout that.
  246.     It *might* still be possible to compile a stripped-down
  247. version of the game that wouldn't need to be overlaid....  But we
  248. haven't tried even that approach for a long time, and there are no
  249. guarantees at all.  Of course, if you succeed in pulling it off, let
  250. us know; but don't get your hopes up.
  251.  
  252.  
  253. You asked:
  254.  
  255.     ARGH!  The game is *so* slow.  What can I do?
  256.  
  257. A sales representative replies:
  258.  
  259. Buy a faster machine.  Get a faster hard disk!  Technology,
  260. technology and Yankee know-how, technology and, let's be honest,
  261. we're both people of the world, Japanese production techniques, are
  262. the answers to all our needs!
  263.     What's that you say? You want to use THIS machine?  And your
  264. recommendation to the free computers for employees programme depends
  265. on my proving it can be done?  Ah.  That puts a different complexion
  266. on matters.  May I use your phone...?
  267.                 * * *
  268. Yeah, yeah, ok.  Uh-huh.  Right.  Catch programmes?  Cache.  Right.
  269. And TSRs.  Yeah, ok.  Right.  Thanks, Lesley.
  270.                 * * *
  271. Great tech support, there.  Yeah, so the word is, you've got to get
  272. everything out of RAM that you can.  It's as simple as that.  All the
  273. TSRs, everything.  Even RAMdisks.  Ignore that little line in
  274. nethack.cnf, that is for amiga's or some other beasties.
  275.  
  276. Some reports of a faster game with a cache program, but we cannot
  277. recommend one brand other another.  Read your cache manual.
  278.  
  279. It's still too slow, you say?  Well, what do you want from me?
  280. This game, if you just look at the .EXE  file, it's, what,
  281. TWICE the size of free memory on this aging old machine of yours.  And
  282. all of that code, ALL of it, mark you, is muscle.  No fat on this
  283. babe.  The programmers, they tell me that this thing peaks at
  284. thousands of overlay transfers per second!  Imagine that!  Whatever it
  285. means.  So shut up!  We're doing our best!  Shut up!  Look, I'll sell
  286. you my sister.  My sister, and my brother... and my budgie.  Just
  287. recommend us to the VP-$$$.  Here, take my watch, it's a gift....
  288.     
  289. You asked:
  290.  
  291.     What has been done to speed up the game?
  292.  
  293. Our High Priest replies:
  294.  
  295. We sacrificed a goat.  And a sheep.  Well, a picture of a sheep.  And
  296. an okapi, I think it was.  Something striped.  Then we burned Donny
  297. Osmond and Ozzy Osbourne records, both at once, it made these weird
  298. purple sparks, and the smoke formed an image of Elvis riding a whale.
  299. Pretty good ritual that, almost as much fun as using EDT all day,
  300. hitting ^Y, and issuing an EDIT/RECOVER.  Those were the days.  Yeah,
  301. and we ate pizza, a lot of pizza, and drank more sacramental coffee
  302. than you can probably imagine.  Plus, we sent a lot of electronic
  303. mail.  Megabytes of it.
  304.     Then we decided to try being systematic.
  305.     So we made more coffee, and sat down to look at why it was so
  306. slow.  Well, let's see.
  307.     The trouble, of course, was that this game is now so huge.
  308. It's actually bigger than the memory on the PC.  So whatever we did,
  309. it had to use overlays.  That was a given.  And the other constraint
  310. was that we couldn't hack up the sources too much, since there were
  311. other groups working on the same programme for other computers, and if
  312. we'd made a divergent version, we would have lost access to their
  313. bugfixes, and all the future nifty developments.  So that was out.
  314.     So we made more coffee.
  315.     There were some things we could do, do for people with money
  316. behind their computers; we could put in support for '386 processors,
  317. and for EMS, stuff like that.  Well, we did that, but it still didn't
  318. help with low-end machines.
  319.  
  320.     So next we looked at the source code.
  321. And this was where experience and the twisted genius of Stephen
  322. Spackman paid off.  Because we realised that what we needed to do was to
  323. split up the code between the overlays along the lines of which
  324. routines called each other the most frequently, rather than according
  325. to which modules they "belonged" to.  But we couldn't change the code
  326. around to fix that, remember.
  327.     So we cooked up this scheme where different parts of the
  328. different source files can be compiled separately.  So each file can
  329. be compiled three, four, sometimes five times, to make lots of little
  330. slices, which are then linked together according to their call
  331. patterns.  And then we spent a lot of time staring at dynamic
  332. profiles, trying to decide what belonged together.  We even
  333. wrote programs that scanned our call graph output and told us
  334. what overlays were being used a lot and where the interoverlay
  335. calls were coming from and all that.  Life was glorious.  Little
  336. used routines were stashed off in distant overlays while code that
  337. was being called millions of times (really!) was placed in the
  338. root.  Still a bit of a delay while changing levels, but that is
  339. 'cause NetHack is saving everything at this point in case your
  340. game dies of some unknown.
  341.  
  342.     So finally we had a game where the worst case, the worst case,
  343. where the level is packed with monsters trying to eat your face and
  344. your machine is only an 286 clone, was about a couple of seconds per
  345. turn.  Not good, but better than the old hack was *without* overlays
  346. (thanks to the vast improvement in code quality provided by the main
  347. development team while we PC types were working on this), and
  348. marginally tolerable.  Better, of course, much better, on a faster
  349. machine.
  350.     But then, this game keeps on growing....
  351.     So could it go faster?  Sure it could.  We never did implement
  352. transient dynamic linking, for instance.  And we could have done stuff
  353. by replacing the linker - or the compiler.  But anything new you do,
  354. it's not going to be obvious.  The obvious stuff we tried before we
  355. started, if you see what I mean.  At this point, any significant
  356. improvement is likely to constitute, how shall I put this?  A
  357. commercially viable technique?  And likely to come from a true
  358. BitWarrior, a NetHacker born.
  359.  
  360.  
  361. You asked:
  362.  
  363.     What is the minimum amount of memory I can run PC NetHack in?
  364.  
  365. An arrogant experimentalist replies:
  366.  
  367. "Can" is such an interesting term.  I've noticed your distinct
  368. propensity to word your questions in the vaguest manner possible.  Do
  369. you always have this problem, or only when I put the words into your
  370. mouth?
  371.  
  372. Our testing, no means complete mind you, is that you need at least
  373. 1 meg of memory to make it playable.  500K of free ram and a 384K
  374. disk cache seems to be the minimum ticket to see the show.
  375.  
  376.  
  377. You asked:
  378.  
  379.     Zounds, my man!  How in the name of all that's pompous can one
  380.     get 500K of user RAM free on one's machine?  Surely one can't
  381.     be expected to use a computer without one's Pop-Up-Ducky
  382.     programme, one's resident Latin Grammar Checker, one's TSR
  383.     edition Who's Who?  We are talking, you understand, of the
  384.     bare necessities of civilised existence!
  385.  
  386. Our resident iconoclast replies:
  387.  
  388. Er, yeah.  Well, safe sex an' all that, you might wanna keep your
  389. virus protection in place, mate.  But the rest you can chuck, along
  390. with the horse.
  391.     Now, don't panic, chum, don't take a fit.  If you need that
  392. stuff when you work, that's one thing.  But when you're playing
  393. NetHack, that's all the fun you need, right?  So what you do is, you
  394. take a floppy disk, you format it bootable, and on that you put your
  395. COMMAND.COM, your ANSI.SYS, and a minimal CONFIG.SYS; just what you
  396. need to boot.  Oh, yeah, and an AUTOEXEC.BAT that sets up the path to
  397. your NETHACK.EXE.
  398.     So when you want to play NetHack, you put this floppy in the
  399. drive, and reboot.  Presto!  500K free, and away you go with the game.
  400. Time to do some work?  Save the game, take out the floppy, reboot, and
  401. back comes your pop-up duck.
  402.     Just 'cause you got a hard disk, no law says it's from it you
  403. have to boot.  And just 'cause you boot from a floppy, there's no
  404. reason not to run programmes on the hard disk.
  405.  
  406.  
  407. You asked:
  408.        I was playing along with my 400 hitpoint level 8 Barbarian
  409. named Gorp and my dog Gumby, having a wonderful evening bashing
  410. heads, eating eye corpses, and generally running amok in the dungeon
  411. and all of a sudden the (1) the lights go out, (2) I hit the power
  412. cord with my sword, (3) lightning struck, or (4) the game actually
  413. crashed.  Now what do I do?
  414.  
  415. Our resident disaster recovery expert replies:
  416.        WHAT?  Damn, hmmm, lets see now.  Where is the plan, you
  417. know what I mean, the PLAN!  Wait, now calm down, let me think.
  418. Hmm.  Hmm.  Oh yea!  You have INSURANCE don't you.  I mean you
  419. compiled the game with INSURANCE didn't you.  Well then you are
  420. in safe hands, so to speak.  Included at no extra charge to you
  421. is a smaller programme called recover.exe.  Its sole purpose in
  422. life is to save your behind in cases like this.  Don't go
  423. getting the idea that you can cheat by turning off your machine
  424. just when you are about to die and using it to resurrect your
  425. Wizard.  The recover program can tell you are cheating and will
  426. delete your high score list and give you bad luck for twenty 
  427. games.  
  428.  
  429. To use it after a crash just go to your NETHACK directory and
  430. check to see if you have a bunch of files ending in a number.
  431. Like so: LEVELS.0 LEVELS.1 LEVELS.2 and so on.  Now run the
  432. recover programme giving it the name of your NETHACK directory
  433. as well as the basename part for the level files.
  434.  
  435. Example you say:
  436.  
  437. recover -d \games\nethack levels
  438.  
  439. Works.
  440.  
  441.     Good enough?
  442.  
  443.  
  444. ------------------------------------------------------------------------
  445. DISCLAIMERS:
  446. ------------------------------------------------------------------------
  447.  
  448. Throughout this document, the word "NetHack" refers to a rather jolly
  449. game involving a small @-sign getting its face et by dragons, and is
  450. in no way to be construed as relating to the theory or practise of
  451. gaining unauthorised use of or access to data or data processing
  452. equipment (except maybe if a few of us play the game at work,
  453. something which I want to go on record as saying is very, very naughty
  454. indeed and not the sort of thing you want to get involved with at
  455. all), and if any security-establishment types are reading this,
  456. remember it's YOU folks who do the cloak-and-dagger stuff, we're
  457. responsible professionals with real jobs and self respect and stuff
  458. like that.
  459.  
  460. Secondly, all references to animal sacrifice, Donny Osmond, dynamic
  461. linking, Microsoft Corporation, okapi, claviprondrophony and so forth
  462. are made purely for the entertainment of the reader and if you think
  463. we meant something by it, that's your problem.  Research has shown
  464. that what people say and what they mean have so little to do with each
  465. other that you can actually get PAID to figure out why people say,
  466. "can you reach the salt?" when as a matter of fact they don't give a
  467. pair of dingo's kidneys what the answer to the question is, so long as
  468. someone provides them with some small white crystals in the near
  469. future and look! you came up with *that* interpretation all by
  470. yourself now didn't you.
  471. ------------------------------------------------------------------------
  472. Special thanks to stephen p spackman who wrote the original version
  473. of this text and who will live forever in our memories.  (Nope, he
  474. isn't dead, just moved on to a higher calling).
  475. ------------------------------------------------------------------------
  476.  
  477. This document is Copyright (C) 1991 Stephen P Spackman and Kevin D
  478. Smolkowski (1993).  It constitutes part of the documentation of the PC
  479. version of the NetHack game, and may be distributed freely subject to the
  480. same terms set forth in the NetHack license.  Thank you for having a very
  481. nice day indeed.  Hack On!
  482.  
  483.